﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.Infra.Tools.ServiceRegistration.Entity
{
    public class Parameter : EntityBase
    {
        #region Attributes

        private int? _parameter_id;
        private string _parameter_name;
        private string _description;
        private Type  _type;
        private bool? _is_collection;
        private Method _method;

        #endregion

        #region Constructor

        public Parameter()
        {

        }

        #endregion

        #region Properties

        public int? ParameterId
        {
            get { return _parameter_id; }
            set { _parameter_id = value; }
        }

        public string ParameterName
        {
            get { return _parameter_name; }
            set { _parameter_name = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public Type Type
        {
            get { return _type; }
            set { _type = value; }
        }
        
        public bool? IsCollection
        {
            get { return _is_collection; }
            set { _is_collection = value; }
        }

        public Method Method
        {
            get { return _method; }
            set { _method = value; }
        }

        #endregion
    }
}
